package com.yuexun.beilunpatient.ui.bodyCheck.Adapter;

import android.text.TextUtils;
import android.view.View;
import android.widget.AbsListView;
import android.widget.ImageView;
import android.widget.TextView;

import com.yuexun.beilunpatient.R;
import com.yuexun.beilunpatient.ui.bodyCheck.bean.BodyCheckBasicBean;
import com.yuexun.beilunpatient.ui.test.bean.AssayRow;

import org.kymjs.kjframe.widget.AdapterHolder;
import org.kymjs.kjframe.widget.KJAdapter;

import java.util.Collection;

/**
 * Created by Administrator on 2019/4/29 0029.
 */

public class BasicAdapter extends KJAdapter<BodyCheckBasicBean.RowsBean> {

    public BasicAdapter(AbsListView view, Collection<BodyCheckBasicBean.RowsBean> mDatas, int itemLayoutId) {
        super(view, mDatas, itemLayoutId);
    }

    @Override
    public void convert(AdapterHolder adapterHolder, BodyCheckBasicBean.RowsBean item, boolean isScrolling) {
        adapterHolder.setText(R.id.bodycheck_tv, "体检时间：" + item.getExamtime());
    }
}
